package cn.tedu.mybatisdemo.pojo.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
public class Subject {
    private int id;
    private String name;

    private List<Teacher> teachers;
}
